package com.kangfu.db.mapper;


import com.kangfu.db.domain.entity.LessonPrescription;
import com.kangfu.db.domain.entity.LessonPrescriptionItem;
import com.kangfu.db.domain.entity.LessonPrescriptionItemLesson;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 运动处方配置Mapper接口
 * 
 * @author ruoyi
 * @date 2022-10-14
 */
public interface LessonPrescriptionMapper 
{

    public LessonPrescription selectByWeek(@Param("week") Integer week);

    public LessonPrescriptionItem selectItemById(@Param("id") Integer id);

    public List<LessonPrescriptionItem> selectItemsByPrescriptionId(Integer PrescriptionId);

    public List<LessonPrescriptionItemLesson> selectItemLessonsByItemId(Integer itemId);

    public void checkin(@Param("id") Integer id);
}
